package com.zyl.pts.domain.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* 动物指标记录表
* @TableName index_record
*/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class IndexRecord implements Serializable {

    /**
    * 记录id
    */
    @JsonProperty("irdId")
    private Integer irdId;
    /**
    * 重量
    */
    @JsonProperty("irdWeight")
    private String irdWeight;
    /**
    * 记录时间
    */
    @JsonProperty("irdTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime irdTime;
    /**
    * 是否健康 健康,不健康
    */
    @JsonProperty("irdHealthy")
    private String irdHealthy;
    /**
    * 体温
    */
    @JsonProperty("irdTemperature")
    private String irdTemperature;
    /**
    * 呼吸频率
    */
    @JsonProperty("irdBreathing")
    private String irdBreathing;
    /**
    * 心率
    */
    @JsonProperty("irdHeartRate")
    private String irdHeartRate;
    /**
    * 动物外键
    */
    @JsonProperty("irdAnimalId")
    private String irdAnimalId;
}
